package com.net.xpay.core.dao;

import com.net.xpay.core.domain.TaokeDetectionRecord;
import com.net.xpay.core.model.TaokeDetectionRecordSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataShard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("")
@Repository
public interface TaokeDetectionRecordMapper extends PagedMapper<Long, TaokeDetectionRecord> {
    int batchSave(@Param("records") List<TaokeDetectionRecord> records);

    List<TaokeDetectionRecord> search(@Param("searchModel") TaokeDetectionRecordSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") TaokeDetectionRecordSearchModel searchModel);
}
